/****适配小红书 */
const webpack = require("webpack");
module.exports = {
  configureWebpack: {
    plugins: [
      new webpack.BannerPlugin({
        banner: ` if (window && !window.navigator) { window.navigator =  { userAgent: '' } };`,
        raw: true,
        entryOnly: true,
        test: /vendor\.js$/
      })
    ]
  }
};
